@import "var";

* {
  margin: 0;
  padding: 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
li {
  list-style: none;
}

.dtk-dp-blue {
  color: @dtk-dp-blue;
}

button, input, textarea {
  font-size: @f12;
  font-family: SimSun;
  outline: none;
}

.full-query-container {
  font-size: @f12;
  min-height: 500px;
  font-family: SimSun;
  color: @col-5a;

  .main {
    width: 950px;
    height: auto;
    margin: 0 auto 75px;
    .list {
      min-height: 600px;
      padding: 20px 0 0;
      overflow: hidden;
      ul li {
        width: 271px;
        border: 1px solid #dbdbdb;
        margin: 0 20px 20px 0;
        float: left;
        padding: 15px;
        position: relative;
        transition: border-color .3s;
        &:nth-child(3n) {
          margin-right: 0;
        }
        a {
          display: block;
        }
        &:hover {
          border-color: @dtk-dp-blue;
          .list-op {
            height: 30px;
            a {
              color: @bg-col-fff;
              background-color: @dtk-dp-blue;
              &.full-query-list-select {
                background-color: @dtk-lt-blue;
              }
            }
          }
        }
        &.active {
          border-color: @dtk-dp-blue;
          &:before {
            content: "";
            .box(24px, 24px);
            .position(absolute, -1px, auto, auto, -1px);
            display: inline-block;
            background: @dtk-dp-blue url("http://www.qingtaoke.com/versions/version2016_11/images/icons.png") -1094px -762px no-repeat;
          }
        }
      }
      .list-pic {
        width: 80px;
        height: 80px;
        overflow: hidden;
        margin-right: 10px;
        float: left;
        img {
          width: 100%;
          height: auto;
        }
      }
      .list-main {
        width: 181px;
        float: left;
        div {
          margin-bottom: 8px;
          &.time {
            margin-bottom: 0;
          }
        }
        .title {
          .breakTxt;
          color: #000;
        }
        .time {
          color: @col-96;
        }
        .coupon {
          span {
            font-family: Arial;
            font-weight: bold;
          }
          span:nth-child(1) {
            color: @dtk-dp-blue;
            margin-left: 2px;
          }
          span:nth-child(2) {
            color: @col-light-red;
            margin-left: 2px;
          }
          span:nth-child(3) {
            color: forestgreen;
          }
        }
      }
      .list-op {
        overflow: hidden;
        .position(absolute, auto, 0, 0, 0);
        background-color: @bg-col-fa;
        height: 0;
        transition: height .3s;
        a {
          .box(50%, 30px);
          display: inline-block;
          float: left;
          color: @col-96;
          text-decoration: none;
          text-align: center;
          transition: background-color, color .3s;
          &:hover {
            background-color: @dtk-dp-blue;
            color: @bg-col-fff;
          }
        }
      }
    }

    .list-none {
      padding: 150px 0;
      text-align: center;
      font-size: @f16;
      color: @dtk-dp-blue;
      font-family: "Microsoft YaHei";
      display: none;
    }

    .list-op-dis {
      &.flex {
        .position(fixed, auto, 0, 0, 0);
      }
      .box(auto, 40px);
      padding: 10px 68px;
      background-color: @bg-col-fff;
      box-shadow: 0 0 5px rgba(0, 0, 0, .3);

      .goods-selected-dis {
        position: relative;
      }

      .selected-list-goods {
        .position(absolute, auto, auto, 53px, -1px);
        width: 950px;
        height: 0;
        background-color: @bg-col-fa;
        box-shadow: 0 0 5px rgba(0, 0, 0, .3);
        overflow: hidden;
        transition: height .3s;
        &.show {
          height: 320px;
          overflow-y: auto;
        }
        ul {
          padding: 10px;
          overflow: hidden;
          li {
            .box(70px, auto);
            float: left;
            margin: 0 9px 10px 0;
            padding: 10px;
            background-color: @bg-col-fff;
            border: 1px solid #e2e2e2;
            img {
              width: 100%;
              height: auto;
              float: left;
            }
            button {
              width: 100%;
              height: 24px;
              line-height: 26px;
              float: left;
              margin-top: 10px;
              border: none;
              background-color: @dtk-dp-blue;
              text-align: center;
              border-radius: 3px;
              font-size: @f12;
              font-family: SimSun;
              color: @bg-col-fff;
              outline: none;
              .pointer;
              &:hover {
                opacity: .9;
              }
            }
          }
        }
      }

      a.def {
        font-size: @f14;
        font-family: "Microsoft YaHei UI";
        text-decoration: none;
        text-align: center;
        display: inline-block;
      }
      .selected-dis-hide {
        .box(120px, 34px);
        margin: 0 3px;
        border: 1px solid @col-e2;
        border-radius: 20px;
        color: @col-333;
        background-color: @bg-col-fa;
        transition: background-color .3s;
        &:hover {
          background-color: @border-col-f0;
        }
      }
      .cfm-use-btn {
        .box(120px, 40px);
        background-color: @dtk-lt-blue;
        color: @bg-col-fff;
        border-radius: 20px;
        &:hover {
          opacity: .9;
        }
      }
    }

    .pages {
      text-align: center;
      padding: 15px;
      display: none;
      .pages-main {
        display: inline-block;
        margin: 0 auto;
      }
      .jump-page {
        margin-left: 15px;
        input, button {
          border: 1px solid @col-e2;
          float: left;
          border-radius: 3px;
        }
        input {
          padding: 0 10px;
          width: 30px;
          height: 26px;
          line-height: 26px;
          margin-right: 5px;
        }
        button {
          width: 60px;
          height: 28px;
          line-height: 28px;
          text-align: center;
          background-color: @dtk-dp-blue;
          color: @bg-col-fff;
          border-color: @dtk-dp-blue;
        }
      }
      ul {
        overflow: hidden;
        display: inline-block;
        li {
          height: 26px;
          line-height: 26px;
          padding: 0 10px;
          margin: 0 5px;
          float: left;
          border: 1px solid @col-e2;
          .pointer;
          border-radius: 3px;
          &.more {
            cursor: default;
            line-height: 20px;
          }
          &.active {
            color: @bg-col-fff;
            background-color: @dtk-dp-blue;
            border-color: @dtk-dp-blue;
          }
        }
      }
    }
  }


  .goods-filter-main {
    height: auto;
  }

  .selection {
    margin-top: 30px;
    border: 1px solid @col-e2;
    padding: 10px;
    background-color: #fafafa;
  }

  .dtk-head,
  .head-search {
    height: 40px;
    line-height: 40px;
    .search {
      .box(auto, 24px);
      margin-top: 5px;
      select, input {
        .box(auto, 22px);
        border: 1px solid #e2e2e2;
        outline: none;
        margin-right: 15px;
        &#keywords {
          width: 500px;
        }
      }
      select {
        .box(auto, 24px);
      }
    }
  }

  .dtk-head,
  .goods-filter,
  .goods-type,
  .goods-pages {
    width: auto;
    height: 34px;
    line-height: 34px;
    background-color: @bg-col-fff;
    margin-bottom: 10px;
    padding: 0 10px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,.08);
    /*border: 1px solid @col-e2;*/
    label {
      display: inline-block;
      margin-right: 10px;
      input {
        float: left;
        margin: 12px 5px auto auto;
      }
    }
  }

  .goods-filter-main {
    width: 848px;
  }

  .goods-filter-main-right {
    width: auto;
  }

  .goods-filter-main-right input {
    width: 30px;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    border: 1px solid #e2e2e2;
  }

  .search-btn-area {
    text-align: center;
    margin-top: 10px;
    button {
      .box(120px, 30px);
      text-align: center;
      border: none;
      outline: none;
      background-color: @dtk-dp-blue;
      color: @bg-col-fff;
      &#fullQuerySelectionNullBtn {
        background-color: @dtk-lt-blue;
      }
    }
  }
}